package cn.com.yusys.trace.goods;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class GoodsController {
    
    private final Logger logger = LoggerFactory.getLogger(this.getClass());

    @GetMapping("/goods")
    public String getGoods() {
    	logger.info("执行商品够买工程中getGoods方法!");
    	return "够买商品";
    }
    
    @GetMapping("/test")
    public String test() {
         return "goods";
    }
}